package com.caipos.actor.common.data;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caipos.actor.common.data.id.EntityId;
import lombok.Builder;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("tenant")
@Builder
public class Tenant implements EntityId {
    @TableId
    private String id;
    private Timestamp createdTime;
    private String additionalInfo;
    private String tenantProfileId;
    private String address;
    private String address2;
    private String city;
    private String country;
    private String email;
    private String phone;
    private String region;
    private String state;
    private String title;
    private String zip;
    private Long version;

    @Override
    public EntityType getEntityType() {
        return EntityType.TENANT;
    }
}